<!--顶部导航条 -->
<div class="am-container header">
    <ul class="message-l">
        <div class="topMessage">
            <div class="menu-hd">
                <ul>
                <li th:if="${session.currentUser == null}"><a href="/login" target="_top" class="h">亲，请登录</a></li>
                    <li th:if="${session.currentUser == null}"><a href="/register/page" target="_top">免费注册</a></li>
                    <li th:if="${session.currentUser != null}"><a href="/personal" th:text="${session.currentUser.username}"></a></li>
                    <li th:if="${session.currentUser != null}"><a href="/logout">退出</a></li>
                </ul>
            </div>
        </div>
    </ul>
    <ul class="message-r">
        <div class="topMessage home">
            <div class="menu-hd"><a href="/" target="_top" class="h">商城首页</a></div>
        </div>
        <div class="topMessage my-shangcheng">
            <div class="menu-hd MyShangcheng"><a href="/information" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a>
            </div>
        </div>
        <div class="topMessage mini-cart">
            <div class="menu-hd"><a id="mc-menu-hd" href="#" target="_top"><i
                    class="am-icon-shopping-cart  am-icon-fw"></i><span><a href="/cart/list" target="_blank">购物车</a></span><strong id="J_MiniCartNum"
                                                                                             class="h"></strong></a>
            </div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="#" target="_top"><i
                    class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a></div>
        </div>
    </ul>
</div>

<!--悬浮搜索框-->

<div class="nav white">
    <div class="logo"><img src=""/></div>
    <div class="logoBig">
        <li><img src="/images/logoJ.png"/></li>
    </div>

    <div class="search-bar pr">
<!--        <a name="index_none_header_sysc" href="#"></a>-->
        <form id="form2" action="/search/goods" method="post">
            <input id="searchInput" name="keyword" type="text" placeholder="搜索" autocomplete="off">
            <input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
        </form>
    </div>
</div>

<div class="clear"></div>
</div>
